package com.yidu.sanrenxing.login.domain;

import java.io.Serializable;

public class Users implements Serializable {
    private int userid;

    private String username;

    private String uphonenum;

    private String userpwd;

    private int roleid;

    private static final long serialVersionUID = 1L;

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUphonenum() {
        return uphonenum;
    }

    public void setUphonenum(String uphonenum) {
        this.uphonenum = uphonenum == null ? null : uphonenum.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    @Override
    public String toString() {
        return "Users{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", uphonenum='" + uphonenum + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", roleid=" + roleid +
                '}';
    }
}